package com.hsh.dao;

import com.hsh.bean.User;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface UserMapper extends Mapper<User> {
    /**
     * 模糊查询
     * @param user
     * @return
     */
    List<User> findAllByUser(User user);

    List<User> login(User user);
}
